package com.ft.admix.ad;

import android.app.Activity;
import android.content.Context;
import android.view.ViewGroup;

import com.ft.admix.base.AdListener;
import com.ft.admix.base.BaseAd;
import com.ft.admix.config.AdConfig;

public abstract class MixCustomSplashAdapter extends BaseAd {
    protected ViewGroup container; // 开屏广告容器

    @Override
    public void load(Activity context, AdConfig config) {
        this.config = config;
        this.context = context;
        loadNetworkAd(context, config);
    }

    protected abstract void loadNetworkAd(Activity context, AdConfig config);

    public abstract void show(ViewGroup container);

    public void callSplashAdClicked(){

    }

    public void callSplashAdShow(){

    }

    public void callSplashAdShowError(int code, String msg){

    }

    public void callSplashAdDismiss(){

    }

    public void callSplashAdSkip(){

    }

}